package com.hxci.zc.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "customer")
public class Customer {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "sname")
    private String sname;

    @TableField(value = "jobs")
    private String jobs;

    @TableField(value = "phone")
    private String phone;
}